/*
 *  simKernel.h
 *  sparticlus
 *
 *  Created by Lita Gratrix on 4/16/10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

#include <stdio.h>
#include <sstream>
#include <math.h>
#include <string.h>

#define kVArraySize 3  //Vectors are an array of 3 numbers
#define kBlockHeight 170 //Number of threads per blcok height and width
#define kBlockSize 510 //total number of threads in a block

typedef float (*myVector) [kVArraySize];

extern "C" void checkCUDAError(const char *msg);
extern "C" void calculateNewPosition(int fps, float incr, float *posArray_d, float *velArray_d, size_t pitch, unsigned int partCount, float *posPrimeArray_d);
extern "C" void simKernel(int fps, float incr, float *posArray, float *velArray, unsigned int partCount, float *posPrimeArray);


